#include-once

; TODO: Debug assert IsDeclared('__gScintilla_idDll')

Func Scintilla_CreateEditor($hWndParent, $nLeft, $nTop, $nWidth, $nHeight, _
			$sName = 'Scintilla', $dwStyle = BitOR($WS_CHILD, $WS_CLIPSIBLINGS, $WS_VISIBLE), $dwExStyle = 0, $id = 0)
	Local $hWnd = _WinAPI_CreateWindowEx($dwExStyle, 'Scintilla', $sName, $dwStyle, _
				$nLeft, $nTop, $nWidth, $nHeight, $hWndParent, $id)
	Return $hWnd
EndFunc